'''
Created on Feb 28, 2011

@author: Chris
'''

class FeatureSuggestions(object):
    '''
    is an aggregation of the Feature class and the Suggestion class.
    '''


    def __init__(self, feature):
        '''
        Constructor
        '''
        self.feature = feature
        self.suggestions = []
        
    def getSuggestions(self):
        return self.suggestions
    
    def setSuggestions(self, index, suggestion):
        """
        This method allows the suggestions to be set
        """
        pass
        
    def addSuggestions(self, suggestion):
        '''Add the suggestion to the list of suggestions for that feature'''
        self.suggestions.append(suggestion)
        
    def getFeature(self):
        return self.feature